package com.qtz.demo.service;

import com.qtz.demo.bean.Answer;
import com.qtz.demo.mapper.AnswerMapper;
import com.qtz.demo.mapper.QuestionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service

public class AnswerSereviceImpl implements AnswerService{

    @Autowired
    private AnswerMapper answerMapper;


    @Override
    public boolean addAnswer(Answer answer) {
        return answerMapper.addAnswer(answer);
    }


}
